#include "work.h"
#include<unistd.h>
Work::Work(QObject *parent)
    : QObject{parent}
{

}


void Work::work_slot()
{
    for(int i=0;i<10;i++)
    {
        qDebug("%d",i);
        sleep(1);

    }
}
